package com.fruit.bean.enumeration.fruit;

/**
 * Description:
 *  库存状态枚举:库存状态：1-入库中，2-后台同意，等待签约，3-已入库，4-后台拒绝，5-用户拒绝签约
 */
public enum FruitStockStatusEnum {
    WAIT_ACCEPT (0,"入库中"),
    ACCEPTED(1,"后台同意，等待签约"),
    FINISHED(2,"已入库"),
    REFUSED(3,"后台拒绝"),
    CANCELED(4,"用户拒绝签约");

    private Integer code;
    private String msg;

    FruitStockStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
